<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8" />
	<title></title>
	<link rel="stylesheet" type="text/css" href="css/layui/css/layui.css" />
	<script src="css/layui/layui.all.js"></script>
	<script src="js/basejs/vue.js"></script>
	<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.19.2/axios.min.js"></script>
	<!-- 引入样式 -->
	<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
	<!-- 引入组件库 -->
	<script src="https://unpkg.com/element-ui/lib/index.js"></script>

</head>

	<body>
		<div id="app" >


			<!-- <form class="m" action=""> -->
			<div class="layui-form-item">
				<label class="layui-form-label">定时名称</label>
				<div class="layui-input-block">
					<input  v-model="schedName" type="text" name="schedName" required lay-verify="required" placeholder="定时名称" 
					 class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">触发器名称</label>
				<div class="layui-input-block">
					<input  v-model="triggerName" type="text" name="triggerName" required lay-verify="required" placeholder="触发器名称" 
					 class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">创建时间</label> 
				<div class="layui-inline">
				<input v-model="creatTime"  name="creatTime" type="text" class="layui-input" id="date">
				</div>
			</div>
			
			
			<div class="layui-form-item">
				<label class="layui-form-label">定时时间</label>
				<div class="layui-inline">
				    <input v-model="cronExpression" name="cronExpression" type="text" class="layui-input" id="date1" >
				</div>
			</div>
		<!-- 	<div class="layui-form-item">
				<label class="layui-form-label">状态</label>
				<div class="layui-input-block">
					<input v-model="zhuangtai" type="text"required  name="状态" lay-verify="required" placeholder="状态" autocomplete="off"
					 class="layui-input">
				</div>
			</div> -->
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formDemo" @click="add">立即提交</button>

						<button class="layui-btn" lay-submit lay-filter="formDemo" @click="retu">返回</button>
					</div>
				</div>
			<!-- </form> -->

		</div>

	</body>
	<script src="js/basejs/vue.js"></script>
	<script src="js/basejs/axios-min.js" type="text/javascript" charset="utf-8"></script>
	<script src="css/layui/layui.all.js"></script>
	<script src="js/cronAdd.js"></script>
	<script>
	layui.use('laydate', function(){
	  var laydate = layui.laydate;
	  //执行一个laydate实例
	  laydate.render({
	    elem: '#date1',
		type: 'time'
	  });
	
	  //执行一个laydate实例
	  laydate.render({
	    elem: '#date'
		// range: true //指定元素
	  });
	});
	</script>
</html>
